package com.itcast.java.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 秒杀活动实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@TableName("sms_seckill_promotion")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SmsSeckillPromotionEntity对象", description = "秒杀活动")
public class SmsSeckillPromotionEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "活动标题")
    @TableField("title")
        private String title;

        @ApiModelProperty(value = "开始日期")
    @TableField("start_time")
        private Date startTime;

        @ApiModelProperty(value = "结束日期")
    @TableField("end_time")
        private Date endTime;

        @ApiModelProperty(value = "上下线状态")
    @TableField("status")
        private Integer status;

        @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
        private Date createTime;

        @ApiModelProperty(value = "创建人")
    @TableField("user_id")
        private Long userId;

        }